/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bugsandcritters;

/**
 *
 * @author Student
 */
public class BugsSlider extends BasicSlider
{
    @Override
    public void Create()
    {
        X = 850;
        Y = 300;
        MinValue = 0;
        MaxValue = 100;
        Text = "Bugs: ";
        Value = GridWorld.Bugs;
    }
    
    @Override
    public void Update()
    {
        GridWorld.Bugs = Value;
    }
    
}
